package com.example.activititest.bean;

import java.util.Date;

import org.activiti.engine.repository.Deployment;

/**
 * 流程部署DTO
 * 
 * @author lijingchuan
 *
 */
public class DeploymentDTO {

	private String id;

	private String name;

	private Date deploymentTime;

	private String category;

	private String key;

	private String tenantId;

	public DeploymentDTO(Deployment entity) {
		super();
		this.id = entity.getId();
		this.name = entity.getName();
		this.deploymentTime = entity.getDeploymentTime();
		this.category = entity.getCategory();
		this.key = entity.getKey();
		this.tenantId = entity.getTenantId();
	}

	public DeploymentDTO() {
		super();
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getDeploymentTime() {
		return deploymentTime;
	}

	public void setDeploymentTime(Date deploymentTime) {
		this.deploymentTime = deploymentTime;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getTenantId() {
		return tenantId;
	}

	public void setTenantId(String tenantId) {
		this.tenantId = tenantId;
	}


}
